# divide.py

def divide(a, b):
    if b == 0:
        raise ValueError("除数不能为零")
    else:
        return a / b